package com.neuedu.service;

import com.neuedu.pojo.CadreTable;
import com.neuedu.pojo.PoorFamily;
import com.baomidou.mybatisplus.extension.service.IService;
import com.neuedu.pojo.Result;

import java.util.List;

/**
 * @author Administrator
 * @description 针对表【poor_family(贫困户信息表)】的数据库操作Service
 * @createDate 2025-06-17 09:04:08
 */
public interface PoorFamilyService extends IService<PoorFamily> {

    Result<PoorFamily> getPoorFamilyById(Integer id);

    Result<List<PoorFamily>> getPoorFamily(Integer currentPage, Integer pageSize, String headName, String idCard,String belongArea);

    Result<Void> addPoorFamily(PoorFamily poorFamily);

    Result<Void> updatePoorFamily(PoorFamily poorFamily);

    Result<Void> deletePoorFamily(Integer id);
    Result<PoorFamily>loginPfamily(String number, String password);

    Result<Void>updatePassword(String number,String password);

}
